second largest item problem